<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form id="form1">
    <input type="text" name="case_id" value="1">
    <input type="text" name="case_type" value="1">
    <input type="text" name="client_name" value="1">
    <input type="text" name="client_type" value="1">
    <input type="text" name="case_info" value="1">
    <input type="text" name="request_date" value="1">
    <input type="text" name="accept_date" value="1">
    <input type="text" name="end_date" value="1">
    <input type="text" name="id_kit" value="1">
    <input type="text" name="id_appraiser0" value="1">
    <input type="text" name="id_appraiser1" value="1">
    <input type="text" name="sample_name_F" value="12">
    <input type="text" name="sample_type_F" value="1">
    <input type="text" name="sample_fob_F" value="1">
    <input type="text" name="person_name_F" value="1">
    <input type="text" name="person_sex_F" value="1">
    <input type="text" name="person_race_F" value="1">
    <input type="text" name="samples" value="1">
    <input type="submit" id="form-add-submit">
</form>

</body>
<script src="__JS__/jquery-3.2.1.min.js"></script>
<script src="__JS__/jquery.cookie.js"></script>
<script src="__JS__/bootstrap.min.js"></script>
<script src="__JS__/my.js"></script>
<script>
    $("#form-add-submit").click(function () {
        $.post("{:url('DNACase/add')}", {data:$("#form1").toJson()}, function (data) {
            document.write(data);
        });
    });
</script>
</html>